cmake_minimum_required(VERSION 2.8)

project(Test1)

file(GLOB_RECURSE  TEST1_SOURCE_FILES ./*.*)

add_definitions(-DGLEW_STATIC)
include_directories(${OPENCL_INCLUDE_DIRS} ../CLW/include ../Calc/include ../GLEW/include F:/wxfworkspace/freeglut/include)

link_directories(${PROJECT_BINARY_DIR}/../Debug F:/wxfworkspace/freeglut/lib/x64/Debug)

add_executable(${PROJECT_NAME} ${TEST1_SOURCE_FILES})
add_dependencies(${PROJECT_NAME} FireRay CLW Calc glew)

target_link_libraries(${PROJECT_NAME} ${OPENCL_LIBRARIES} CLW.lib glew.lib freeglut.lib)

SET(EXECUTABLE_OUTPUT_PATH  ${PROJECT_BINARY_DIR}/../)